package com.project.system.user.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 商铺员工实体类
 *
 * @author yanhaizhen
 * @since 2022-02-28 13:37:44
 */
@Data
@TableName("sy_user")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="商铺员工对象", description="商铺员工")
public class UserEntity implements Serializable {
    private static final long serialVersionUID = -57416029834806766L;
                                                                                                                                   
   /**
    * 主键
    */
    @TableId(type = IdType.AUTO) //自增策略
    @ApiModelProperty(value = "主键")
    private Integer id;

                                                                   
   /**
    * 门店员工手机
    */
    @ApiModelProperty(value = "门店员工手机")
    private String phone;
                                                                   
   /**
    * 门店员工姓名
    */
    @ApiModelProperty(value = "门店员工姓名")
    private String username;
                                                                   
   /**
    * 门店员工密码
    */
    @ApiModelProperty(value = "门店员工密码")
    private String password;
                                                                   

}
